<template>
	<div>
		<div>
			dfsdfd
		</div>
		<div>{{name}}</div>
	</div>
</template>

<script>
	export default {
		name: '',
		components: {

		},
		data() {
			return {
			name:0,

			};
		},
		computed: {

		},
		methods: {
			 mound(){
      this.$axios
	  .get("http://10.197.42.22:8080/user/login")
	  .then((res)=>{
        this.name=res.name;
		
      },
      err=>{
        console.log(err)
      }).catch(function(error) {
        //请求失败处理
        console.log(error);
      });
    }
		}


	};
</script>
<style>
	
</style>